<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" :title="mixinEdit_editTitle" width="500px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div class="dialogStyleBaseBox"  v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <el-form-item label="菜单名称" prop="menu_title">
                <el-input v-model="form.menu_title" maxlength="10" show-word-limit></el-input>
            </el-form-item>

            <el-form-item label="前端标识" prop="auth_name">
                <el-input v-model="form.auth_name" maxlength="40" show-word-limit></el-input>
            </el-form-item>

            <el-form-item label="菜单图标" prop="menu_icon">
                <selectIcon :value.sync="form.menu_icon"></selectIcon>
            </el-form-item>


            <!-- <el-form-item label="菜单分类" prop="menu_type">
                <el-radio-group v-model="form.menuType">
                <el-radio :label="item.dictValue" v-for="(item,index) in dict_menu_category" :key="item.id">
                    {{item.dictLabel}}</el-radio>
            </el-radio-group>
                <el-radio-group v-model="form.menu_type">
                    <el-radio :label="1">平台菜单</el-radio>
                    <el-radio :label="2">站点菜单</el-radio>
                </el-radio-group>
            </el-form-item> -->

            <el-form-item label="菜单类型" prop="type">
                <!-- <el-radio-group v-model="form.type">
                <el-radio :label="item.dictValue" v-for="(item,index) in dict_menu_type" :key="item.id">
                    {{item.dictLabel}}</el-radio>
            </el-radio-group> -->

                <el-radio-group v-model="form.type">
                    <el-radio :label="1">权限</el-radio>
                    <el-radio :label="2">菜单</el-radio>
                </el-radio-group>
            </el-form-item>


            <el-form-item label="是否存在URL" prop="exist_res_url">
                <el-radio-group v-model="form.exist_res_url">
                    <el-radio :label="0">不存在</el-radio>
                    <el-radio :label="1">存在</el-radio>
                </el-radio-group>
            </el-form-item>

            <el-form-item label="URL地址" prop="name">
                <el-input v-model="form.name" maxlength="40" show-word-limit></el-input>
            </el-form-item>

            <el-form-item label="排序" prop="sort">
                <el-input-number type="number" style="width:100%" maxlength="10" v-model="form.sort" show-word-limit>
                </el-input-number>
            </el-form-item>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <!-- <el-col :span="12" style="text-align: left;">
                <el-button @click="mixinEdit_resetForm('editForm')">重 置</el-button>
            </el-col> -->
            <el-col :span="24">
                <el-button @click="mixinEdit_editBoxClose('editForm')">取 消</el-button>
                <el-button type="primary" @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})" :disabled="mixinEdit_loading">确
                    定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>